package com.safe.service;

import com.safe.entity.Trajectory;
import com.safe.exception.ParamErrorException;
import com.safe.service.common.ICommonService;

/**
 * TrajectoryService
 * Created by 涂奕恒 on 2020/7/7 16:23.
 */
public interface TrajectoryService extends ICommonService<Trajectory> {

    // 保存设备点位信息
    double uploadPosition(Integer trainId,
                          Double lon,
                          Double lat,
                          String direction,
                          Long createTime) throws ParamErrorException;
}